package com.jindan.jdy.modules.sys.controller;

import com.jindan.jdy.common.utils.api.ResultVo;
import com.jindan.jdy.service.sys.SysService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * description:
 * date: 2020/4/3 17:09
 * author: xbdyilin
 */
@RestController
@RequestMapping("/sys")
@Api("用户模块")
public class SysController {

    @Reference(version = "${service.version}", check = false)
    private SysService sysService;

    @GetMapping("/test")
    @ApiOperation("工程搭建测试")
    public ResultVo<String> test() {
        return ResultVo.success(sysService.test());
    }



}

